.class Lcom/estrongs/android/view/b0$g;
.super Ljava/lang/Object;
.source "MyNetworkGridViewWrapper.java"

# interfaces
.implements Lcom/estrongs/android/pop/l$c;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/view/b0;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/b0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/b0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/b0$g;->a:Lcom/estrongs/android/view/b0;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;ZI)V
    .locals 3

    if-nez p3, :cond_7

    if-eqz p2, :cond_0

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/view/b0$g;->a:Lcom/estrongs/android/view/b0;

    invoke-static {p1}, Lcom/estrongs/android/view/b0;->a(Lcom/estrongs/android/view/b0;)Ljava/util/ArrayList;

    move-result-object p2

    iget-object p3, p0, Lcom/estrongs/android/view/b0$g;->a:Lcom/estrongs/android/view/b0;

    invoke-static {p3}, Lcom/estrongs/android/view/b0;->d(Lcom/estrongs/android/view/b0;)Lcom/estrongs/android/view/b0$n;

    move-result-object p3

    invoke-virtual {p2, p3}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result p2

    invoke-static {p1, p2}, Lcom/estrongs/android/view/b0;->a(Lcom/estrongs/android/view/b0;I)V

    goto/16 :goto_3

    .line 2
    :cond_0
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->d1(Ljava/lang/String;)Z

    move-result p2

    if-nez p2, :cond_2

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->a2(Ljava/lang/String;)Z

    move-result p2

    if-nez p2, :cond_2

    .line 3
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->D2(Ljava/lang/String;)Z

    move-result p2

    if-nez p2, :cond_2

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->f1(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_1

    goto :goto_0

    :cond_1
    const/4 p2, 0x0

    goto :goto_1

    :cond_2
    :goto_0
    const/4 p2, 0x1

    .line 4
    :goto_1
    iget-object p3, p0, Lcom/estrongs/android/view/b0$g;->a:Lcom/estrongs/android/view/b0;

    invoke-static {p3}, Lcom/estrongs/android/view/b0;->a(Lcom/estrongs/android/view/b0;)Ljava/util/ArrayList;

    move-result-object p3

    invoke-virtual {p3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p3

    :cond_3
    :goto_2
    invoke-interface {p3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_7

    invoke-interface {p3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/view/b0$n;

    if-eqz p2, :cond_4

    .line 5
    iget-object v1, v0, Lcom/estrongs/android/view/b0$n;->e:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v1

    const-string v2, "ftp://"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_6

    .line 6
    :cond_4
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->n2(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/estrongs/android/view/b0$n;->e:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v1

    const-string v2, "smb://"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_6

    .line 7
    :cond_5
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->H1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, v0, Lcom/estrongs/android/view/b0$n;->e:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v1

    const-string v2, "net://"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 8
    :cond_6
    iget-object v1, p0, Lcom/estrongs/android/view/b0$g;->a:Lcom/estrongs/android/view/b0;

    invoke-static {v1}, Lcom/estrongs/android/view/b0;->a(Lcom/estrongs/android/view/b0;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v0

    invoke-static {v1, v0}, Lcom/estrongs/android/view/b0;->a(Lcom/estrongs/android/view/b0;I)V

    goto :goto_2

    :cond_7
    :goto_3
    return-void
.end method
